# eric7.Plugins.VcsPlugins.vcsPySvn.SvnDialog

Module implementing a dialog to show the output of a pysvn action.

### Global Attributes

None

### Classes

SvnDialog | Class implementing a dialog to show the output of a pysvn action.

### Functions

None

## SvnDialog

Class implementing a dialog to show the output of a pysvn action.

### Derived from

QDialog, SvnDialogMixin, Ui_SvnDialog

### Class Attributes

None

### Class Methods

None

### Methods

SvnDialog | Constructor
_clientNotifyCallback | Protected method called by the client to send events.
finish | Public slot called when the process finished or the user pressed the button.
hasAddOrDelete | Public method to check, if the last action contained an add or delete.
on_buttonBox_clicked | Private slot called by a button of the button box clicked.
showError | Public slot to show an error message.
showMessage | Public slot to show a message.

### Static Methods

None

#### SvnDialog (Constructor)

SvnDialog(text, command, pysvnClient, parent=None, log="")

Constructor

text (str)
  text to be shown by the label
command (str)
  svn command to be executed (display purposes only)
pysvnClient (pysvn.Client)
  reference to the pysvn client object
parent (QWidget)
  parent widget
log (str)
  optional log message

#### SvnDialog._clientNotifyCallback

_clientNotifyCallback(eventDict)

Protected method called by the client to send events.

eventDict (dict)
  dictionary containing the notification event

#### SvnDialog.finish

finish()

Public slot called when the process finished or the user pressed the button.

#### SvnDialog.hasAddOrDelete

hasAddOrDelete()

Public method to check, if the last action contained an add or delete.

Return:
  flag indicating the presence of an add or delete

Return Type:
  bool

#### SvnDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button (QAbstractButton)
  button that was clicked

#### SvnDialog.showError

showError(msg)

Public slot to show an error message.

msg (str)
  error message to show

#### SvnDialog.showMessage

showMessage(msg)

Public slot to show a message.

msg (str)
  message to show

Up